//
//  registerViewController.m
//  LT
//
//  Created by dllo on 16/5/25.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "registerViewController.h"
#import "registerView.h"


//@interface registerViewController ()
//
//@property(nonatomic,strong)UITableView *registerV;
//
//@property(nonatomic,strong)UIButton *registerButton;
//@property(nonatomic,strong)UIButton *gobackButton;
//
//@property(nonatomic,strong)registerView *view1;
//@property(nonatomic,strong)registerView *view2;
//@property(nonatomic,strong)registerView *view3;
//@end

@implementation registerViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
//    self.view.backgroundColor = [UIColor whiteColor];
//    
//    registerView *view1 = [[registerView alloc]initWithFrame:CGRectMake(50, 80, 300, 50)];
//    view1.myLabel.text = @"用户名";
//    view1.myText.placeholder = @"请输入用户名";
//    [self.view addSubview:view1];
//    self.view1 = view1;
//    
//    
//    registerView *view2 = [[registerView alloc]initWithFrame:CGRectMake(50, 150, 300, 50)];
//    view2.myLabel.text = @"密码";
//    view2.myText.placeholder = @"请输入密码";
//    [self.view addSubview:view2];
//    self.view2 = view2;
//    
//    
//    registerView *view3 = [[registerView alloc]initWithFrame:CGRectMake(50, 220, 300, 50)];
//    view3.myLabel.text = @"确认密码";
//    view3.myText.placeholder = @"请再次输入密码";
//    [self.view addSubview:view3];
//    self.view3 = view3;
//    
//    registerView *view4 = [[registerView alloc]initWithFrame:CGRectMake(50, 290, 300, 50)];
//    view4.myLabel.text = @"邮箱";
//    view4.myText.placeholder = @"请输入邮箱";
//    [self.view addSubview:view4];
//
//    self.registerButton = [UIButton buttonWithType:UIButtonTypeCustom];
//    self.registerButton.frame = CGRectMake(50, 380, 100, 50);
//    self.registerButton.backgroundColor = [UIColor cyanColor];
//    [self.registerButton setTitle:@"注册" forState:UIControlStateNormal];
//    [self.view addSubview:self.registerButton];
//    [self.registerButton addTarget:self action:@selector(buttonAction1:) forControlEvents:UIControlEventTouchUpInside];
//    
//    
//    self.gobackButton = [UIButton buttonWithType:UIButtonTypeCustom];
//    self.gobackButton.frame = CGRectMake(220, 380, 100, 50);
//    self.gobackButton.backgroundColor = [UIColor cyanColor];
//   [self.gobackButton setTitle:@"返回" forState:UIControlStateNormal];
//    [self.view addSubview:self.gobackButton];
//    [self.gobackButton addTarget:self action:@selector(buttonAction2:) forControlEvents:UIControlEventTouchUpInside];
//    
//    
//  
//    
//}
//
//-(void)itemAction{
//
//[self dismissViewControllerAnimated:YES completion:^{
//    
//    
//}];
//
}
//
    
//-(void)buttonAction1:(UIButton *)button{
//    //点击存入数据库,之后跳转登录界面
////    NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
////    if (self.view1.myText.text.length < 6) {
////        <#statements#>
////    }
//    
//    
//    
//}
//
//-(void)buttonAction2:(UIButton *)button{
//     //点击跳转回登录界面
//    [self dismissViewControllerAnimated:YES completion:^{
//        
//        
//    }];
//    
//}



//- (void)didReceiveMemoryWarning {
//    [super didReceiveMemoryWarning];
//    // Dispose of any resources that can be recreated.
//}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
